﻿using System.Web.Configuration;

namespace APMS.WebSite.Common
{
    /// <summary>
    /// ApplicationConfig is the mapping class which turn values in appSettings to object model 
    /// </summary>
    /// <version>$Revision$ $Date$</version>
    /// <history>
    /// <record>08/27/2008. raQuiam - Created this file</record>
    /// </history>
    public static class ApplicationConfig
    {
        #region  Properties
        /// <summary>
        /// The DBMS which is currently used
        /// </summary>
        public static string DataProvider
        {
            get
            {
                return WebConfigurationManager.AppSettings[Constants.AppSettings.DATA_PROVIDER];
            }
        }

        /// <summary>
        /// Current Theme for the whole site
        /// </summary>
        public static string ThemeName
        {
            get
            {
                return WebConfigurationManager.AppSettings[Constants.AppSettings.THEME_NAME];
            }
        }
        #endregion
    }
}
